class Solution:
    def isValid(self, word: str) -> bool:
        if not len(word) >= 3:
            return False
        if not word.isalnum():
            return False

        word = word.lower()
        has_aeiou = False
        has_other = False
        for i in word:
            if i in "aeiou":
                has_aeiou = True
            if i in "bcdfghjklmnpqrstvwxyz":
                has_other = True
        return has_other and has_aeiou